﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.datatables;

namespace l1cs.server.templates
{
    public class L1ShopItem
    {
        private readonly int _itemId;

        private readonly L1Item _item;

        private readonly int _price;

        private readonly int _packCount;

        public L1ShopItem( int itemId, int price, int packCount )
        {
            _itemId = itemId;
            _item = ItemTable.getInstance().getTemplate( itemId );
            _price = price;
            _packCount = packCount;
        }

        public int getItemId()
        {
            return _itemId;
        }

        public L1Item getItem()
        {
            return _item;
        }

        public int getPrice()
        {
            return _price;
        }

        public int getPackCount()
        {
            return _packCount;
        }
    }
}
